import os
from time import strftime

def save():
    '用于记录收入'

def cost():
    '用于记录支出'

def query():
    '用于记录支出'

def show_menu():
    '显示菜单'
    #项目初始化
    fname = 'account.data'
    if not os.path.exists(fname):
        init_data = [[strftime('%Y-%m-%d'), 0, 0, 'init data']]
    while 1:
        with open(fname,'wb') as fobj:


if __name__ == '__main__':
    show_menu()